package com.zyb.basic.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;
/*用于封装数据类*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class QueryResult<T> {
    /*总条数*/
    private Integer total = 0;
    /*当前页数据*/
    private List<T> list = new ArrayList<>();
}
